﻿@page
@using AbpMvc.Demo.Localization
@using Microsoft.Extensions.Localization
@model AbpMvc.Demo.Web.Pages.Products.IndexModel
@inject IStringLocalizer<DemoResource> L
@section scripts
{
    <abp-script src="/Pages/Products/Index.cshtml.js"></abp-script>
}
<abp-card>
    <abp-card-header>
        <abp-row>
            <abp-column size-md="_6">
                <abp-card-title>@L["Menu:Products"]</abp-card-title>
            </abp-column>
            <abp-column size-md="_6" class="text-end">
                <abp-button id="NewProductButton" text="@L["NewProduct"].Value" icon="plus" button-type="Primary"></abp-button>
            </abp-column>
        </abp-row>

    </abp-card-header>
    <abp-card-body>
        <abp-table striped-rows="true" id="ProductsTable"></abp-table>
    </abp-card-body>
</abp-card>
